package com.ccn.crm.service;

import com.ccn.crm.model.installManageDetail;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface IInstallDetail {
    int deleteByPrimaryKey(Integer id);

    int insert(installManageDetail record);

    installManageDetail selectByPrimaryKey(Integer id);

    List<installManageDetail> selectAll();

    List<installManageDetail> selectByInstallId(Integer id);
    List<installManageDetail> selectByParent(Integer id);

    int updateByPrimaryKey(installManageDetail record);

    int updateInstallDetailCrmId( int id,String crmId);
}